from jsonrpcserver import method, serve


@method
def double(n):
    return n * 2


if __name__ == "__main__":
    serve()
